﻿@model SystemContainer.Models.Field

@{
    ViewBag.Title = "Developer/algorithmchoose";
}
@{
    var method = "";
}

<h2>Browsing Field: @Model.Name</h2>
<br />
@switch(Model.Name)
{
case "Map":
    method="DeveloperMapControl";
    break;
case "Video":
    method="DeveloperVideoControl";
    break;

        
}
<ul>
    @foreach (var algorithm in Model.Algorithms)
    {
       
    <li>@Html.ActionLink(@algorithm.Name, @method, new { algorithmID = @algorithm.AlgorithmID })</li>
    }
    
</ul>